package test;

/**
 * @author briarbear
 * @blog https://briarbear.github.io
 * @date 2018-09-15 10:27
 */
public class T14 {

    public void f()
    {
        System.out.println("xxx");
    }


}

class T15 extends T14{

    public static void main(String[] args) {
        T14 a = new T15();
        T15 b = (T15)a;
        a.f();
        b.f();
    }

    public void f(){
        System.out.println("b");
    }
}
